package com.bookstore.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bookstore.model.entity.UserProfile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户详情Mapper接口
 */
@Mapper
public interface UserProfileMapper extends BaseMapper<UserProfile> {

    /**
     * 根据认证ID查询用户详情
     * @param authId 认证ID
     * @return 用户详情
     */
    UserProfile selectByAuthId(@Param("authId") Long authId);
}